//
//  UIButton+LQExtension.h
//  LQProductIntelligenceService
//
//  Created by Yim on 16/7/1.
//  Copyright © 2016年 张宁. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (LQExtension)
/**
 * 设置倒角为5的按钮
 */

- (void) setLineFrameLayer;
/**
 *  设置图片在右
 */

- (void) setBtnImageRight;

/**
 *  返回一个高亮文本button
 */
+ (instancetype) buttonWithTitle:(NSString *)title withHighTitle:(NSString *)highTitle addTarget:(id)target addAction:(SEL)action;
/**
 *  返回一个点击文本barButton
 */

+ (instancetype) buttonWithTitle:(NSString *)title withSelectedTitle:(NSString *)SelectedTitle addTarget:(id)target addAction:(SEL)action;
/**
 *  返回一个带图片文本的button
 */
+ (instancetype) buttonWithTitle:(NSString *)title withImage:(NSString *)image withSelectedTitle:(NSString *)SelectedTitle withSelectedImage:(NSString *)selectedImage addTarget:(id)target addAction:(SEL)action;

/**
 *  * 返回一个带上下箭头图片点击文本的button
 */
+ (instancetype) buttonWithAndImageTitle:(NSString *)title withSelectedTitle:(NSString *)SelectedTitle addTarget:(id)target addAction:(SEL)action;
/**
 *  * 返回一个带上下箭头高亮文本的button
 */
+ (instancetype) buttonWithTitleAndImage:(NSString *)title withHightTitle:(NSString *)highTitle addTarget:(id)target addAction:(SEL)action;

/**
 *  返回一个返回btn
 */
+ (instancetype) buttonWithBackAddTarget:(id)target addAction:(SEL)action;
@end
